<?php
/* @var $this PostInfoController */
/* @var $model PostInfo */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'post-info-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'user_id'); ?>
		<?php echo $form->textField($model,'user_id'); ?>
		<?php echo $form->error($model,'user_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'country_id'); ?>
		<?php echo $form->textField($model,'country_id'); ?>
		<?php echo $form->error($model,'country_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'user_name'); ?>
		<?php echo $form->textField($model,'user_name',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'user_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'uri'); ?>
		<?php echo $form->textField($model,'uri',array('size'=>60,'maxlength'=>512)); ?>
		<?php echo $form->error($model,'uri'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'udvalue1'); ?>
		<?php echo $form->textField($model,'udvalue1',array('size'=>60,'maxlength'=>512)); ?>
		<?php echo $form->error($model,'udvalue1'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'udvalue2'); ?>
		<?php echo $form->textField($model,'udvalue2',array('size'=>60,'maxlength'=>512)); ?>
		<?php echo $form->error($model,'udvalue2'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'udvalue3'); ?>
		<?php echo $form->textField($model,'udvalue3',array('size'=>60,'maxlength'=>512)); ?>
		<?php echo $form->error($model,'udvalue3'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'post_date'); ?>
		<?php echo $form->textField($model,'post_date'); ?>
		<?php echo $form->error($model,'post_date'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->